
package com.campus.common.vo;

import java.io.Serializable;

public class Teacher implements Serializable {
    private String teacherId;
    private String teacherName;
    private String sex;
    private int age;
    private String department;
    private String contactInfo;

    public Teacher(){
        this.teacherId = "";
        this.teacherName = "";
        this.sex = "";
        this.age = 0;
        this.department = "";
        this.contactInfo = "";
    }
    public Teacher(String teacherId, String name, String sex, int age, String department, String contactInfo) {
        this.teacherId = teacherId;
        this.teacherName = name;
        this.sex = sex;
        this.age = age;
        this.department = department;
        this.contactInfo = contactInfo;
    }

    public String getTeacherId() {return teacherId;}
    public void setTeacherId(String teacherId) {this.teacherId = teacherId;}
    public String getName() {return teacherName;}
    public void setName(String name) {this.teacherName = name;}
    public String getSex() {return sex;}
    public void setSex(String sex) {this.sex = sex;}
    public int getAge() {return age;}
    public void setAge(int age) {this.age = age;}
    public String getDepartment() {return department;}
    public void setDepartment(String department) {this.department = department;}
    public String getContactInfo() {return contactInfo;}
    public void setContactInfo(String contactInfo) {this.contactInfo = contactInfo;}

}
